@import '~antd/lib/style/themes/default.less';

html, body, #root {
  position: relative;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  width: 100%;
  background: #fff;
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

#root {
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

@media (width:1024px) and (height:691px) and (orientation:landscape) {
  html, body, #root {
    height: 671px;
  }
}
@media (width:1024px) and (height:692px) and (orientation:landscape) {
  html, body, #root  {
    height: 672px;
  }
}
* {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout:none;
}
a, input, textarea, select {
  outline: 0;
}
a {
  cursor: pointer;
  text-decoration: none;
}
p {
  margin: 1em 0;
}

ul {
  padding: 0;
  margin: 0;
}
li {
  list-style: none;
}

.am-badge-text {
  background: #F32525 !important;
}


.loading-wrap {
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

// [id^=am-modal-container] {
//   ~ [id^=am-modal-container] {
//     .am-modal-wrap,
//     .am-modal-mask {
//       z-index: 99999;
//     }
//   }
// }

body {
  .am-modal-wrap,
  .am-modal-mask {
    position: absolute;
  }
}


.loading {
  display: block;
  width: 123px;
  height: 123px;
  background-repeat: no-repeat;
  background-image: url('~asset/img/loading.png');
  background-size: 123px 7257px;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-name: anime;
  animation-timing-function: steps(59);
  margin: 0 auto 13px;
}


@keyframes anime {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -7257px;
  }
}
